//
//  CHTabbarModel.swift
//  yzb
//
//  Created by cyptt on 2022/6/30.
//

import UIKit

class CHTabbarModel: NSObject {

    var RootVcName:String?
    var SellectImgName:String?
    var TabbarTitle:String?
    var NorImgName:String?
    var isMid:Bool?
    var classIsOC:Bool?
    var norColor:String?
    var selColor:String?
    var fontSize:CGFloat?
    
   static func setDicToModel(dic:[String:Any])->CHTabbarModel{
      let tabbarModel:CHTabbarModel = CHTabbarModel.init()
       tabbarModel.RootVcName = dic["RootVcName"] as? String
       tabbarModel.SellectImgName = dic["SellectImgName"] as? String
       tabbarModel.TabbarTitle = dic["TabbarTitle"] as? String
       tabbarModel.NorImgName = dic["NorImgName"] as? String
       tabbarModel.isMid = dic["isMid"] as? Bool
       tabbarModel.classIsOC = dic["classIsOC"] as? Bool
       tabbarModel.norColor = dic["norColor"] as? String
       tabbarModel.selColor = dic["selColor"] as? String
       tabbarModel.fontSize = dic["fontSize"] as? CGFloat
        return tabbarModel
    }
  
}
